<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/jspcommon.jsp" %>

<script type="text/javascript">



function superFiend(){
	$.post("superFiend.htm",function(data) {
		faBiao();
		$('#super_userList').hide();
		hideMask();
		//alert("选择发布帐号成功，继续操作！")
	});	
}
function fuzzySuperSon(){
	var nickename =$("#superSonName").val();
	$('#super_userList').load("superUserList.htm?nickename="+nickename);
}
function chaneclSon(memberId){
	$.post("chaneclSon.htm",{
		memberId:memberId
	},function(data) {
		faBiao();
		$('#super_userList').hide();
		hideMask();
		//alert("选择发布帐号成功，继续操作！")
	});	
}
</script>

<!-- buyGuide-new -->
<div class="tcwarp_v3 mem_ope_v3" >
	<div class="tchead_v3">
		<span class="lt"></span>
		<span class="rt"></span>
	</div>
	<div class="body_v3">
		<div class="ml10 mr10">
			<div class="titlewrap_v3">
				<a href="#" class="tcclose_v3" onclick="$('#super_userList').hide();hideMask();">关闭</a>
				<h1>关联帐号列表：</h1>
			</div>
			<div class="contentwrap_v3">
				<div class="mt20 ml20" >
					 <ul class="com_ud_pt mem_info_v3">
					<c:forEach items="${superUserList}" var="user">
                    	<li>
                        	<div class="up_box">
                            	<a href="#" onclick="chaneclSon('${user.identifier}')"><img src="${user.imageServer}${user.avatar}" width="50px;" height="50px;"/></a>
                            </div>
                            <div class="down_box">
                            	<a href="#">${user.nickname}</a>
                            </div>
                        </li>
                     </c:forEach>
                    </ul>
   								
								 <span><input type="button" value="随机选择帐号" onclick="superFiend();"/></span>
								  <span><input type="text" id="superSonName"/><input type="button" value="记不清除帐号名？没关系模糊查询" onclick="fuzzySuperSon();"/></span>
				</div>
			</div>
		</div>
	</div>
	<div class="tcfoot_v3">
		<span class="lb"></span>
		<span class="rb"></span>
	</div>
</div>
<!-- buyGuide-new--end -->

